package org.ellisande.tld;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("tag")
public class Tag {
	private String name;
	private Class<?> tagclass;
	private String bodycontent;
	private String info = "";

	@XStreamImplicit
	private List<Attribute> attributes;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBodyContent() {
		return bodycontent;
	}

	public void setBodyContent(String bodyContent) {
		this.bodycontent = bodyContent;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public List<Attribute> getAttributes() {
		return attributes;
	}

	public void setAttributes(List<Attribute> attributes) {
		this.attributes = attributes;
	}

	public Class<?> getTagClass() {
		return tagclass;
	}

	public void setTagClass(Class<?> tagClass) {
		this.tagclass = tagClass;
	}

}
